package com.example.paging3samples.network

import com.google.gson.annotations.SerializedName

data class Posts(
    @SerializedName("_id")
    val id: String,
    val author: String,
    val desc: String,
    val images: List<String>
)


data class PageResult(
    val data: List<Posts>,
    val page: Int,
    @SerializedName("page_count")
    val pageCount: Int,
    val status: Int,
    @SerializedName("total_counts")
    val totalCounts: Int
)